//request.ts
import axios from "axios";

const service = axios.create({
    baseURL:"http://localhost:8080",
    timeout:5000,
})

service.interceptors.request.use(
    (config) => {
        return config;
    },
    error => {
        console.log(error);
        return Promise.reject(error);
    }
)
export default service;
